import './utils/extendApi'
import { modal } from './utils/extendApi'
// import { setStorage,getStorage,removeStorage,clearStorage} from './utils/storage'
import {
  asyncSetStorage, asyncGetStorage, asyncRemoveStorage,
  asyncClearStorage
} from './utils/storage'



App({
   // 全部共享的数据：
   globalData: {
    address: {}
  },
  onShow() {
    // 获取当前小程序的账号信息
    // const accountInfo = wx.getAccountInfoSync()
    // 通过小程序的账号信息，就能获取小程序版本
    // console.log(accountInfo.miniProgram.envVersion)
  }
})
